package com.talkweb.platform.commonapi.entity.db;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
@Entity
@Table(name = "BPM_ModProcessList")
@ApiModel(value = "ModProcessList", description = "流程节点_流程")
public class ModProcessList implements Serializable {
	
	@Id
	@Column(name = "WF_OrUnid")
	@GeneratedValue(strategy = GenerationType.IDENTITY, generator = "SELECT REPLACE(UUID(),'-','')")
	private String orUnid;

	@Column(name = "processId")
	@ApiModelProperty(value = "流程id", required = false)
    private String processId;

	@Column(name = "nodeId")
	@ApiModelProperty(value = "节点id", required = false)
    private String nodeId;

	@Column(name = "nodeType")
	@ApiModelProperty(value = "节点类型", required = false)
    private String nodeType;

	@Column(name = "extNodeType")
	@ApiModelProperty(value = "节点扩展类型", required = false)
    private String extNodeType;

	@Column(name = "nodeName")
	@ApiModelProperty(value = "节点名称", required = false)
    private String nodeName;

	@Column(name = "processNumber")
	@ApiModelProperty(value = "", required = false)
    private String processNumber;

	@Column(name = "otherProcessName")
	@ApiModelProperty(value = "", required = false)
    private String otherProcessName;

	@Column(name = "folderId")
	@ApiModelProperty(value = "", required = false)
    private String folderId;

	@Column(name = "status")
	@ApiModelProperty(value = "", required = false)
    private String status;

	@Column(name = "deptId")
	@ApiModelProperty(value = "", required = false)
    private String deptId;

	@Column(name = "processOwner")
	@ApiModelProperty(value = "", required = false)
    private String processOwner;

	@Column(name = "processDesigner")
	@ApiModelProperty(value = "", required = false)
    private String processDesigner;

	@Column(name = "formNumber")
	@ApiModelProperty(value = "", required = false)
    private String formNumber;

	@Column(name = "formNumberForMobile")
	@ApiModelProperty(value = "", required = false)
    private String formNumberForMobile;

	@Column(name = "sortNum")
	@ApiModelProperty(value = "", required = false)
    private String sortNum;

	@Column(name = "saveDataHistory")
	@ApiModelProperty(value = "", required = false)
    private String saveDataHistory;

	@Column(name = "icons")
	@ApiModelProperty(value = "", required = false)
    private String icons;

	@Column(name = "exceedTime")
	@ApiModelProperty(value = "", required = false)
    private String exceedTime;

	@Column(name = "autoArchive")
	@ApiModelProperty(value = "", required = false)
    private String autoArchive;

	@Column(name = "wordTemplate")
	@ApiModelProperty(value = "", required = false)
    private String wordTemplate;

	@Column(name = "printTemplate")
	@ApiModelProperty(value = "", required = false)
    private String printTemplate;

	@Column(name = "WF_Version")
	@ApiModelProperty(value = "", required = false)
    private String verSion;

	@Column(name = "WF_AddName_CN")
	@ApiModelProperty(value = "", required = false)
    private String addNameCn;

	@Column(name = "WF_AddName")
	@ApiModelProperty(value = "", required = false)
    private String addName;

	@Column(name = "WF_DocCreated")
	@ApiModelProperty(value = "", required = false)
    private String docCreated;

	@Column(name = "wf_lastmodified")
	@ApiModelProperty(value = "", required = false)
    private String lastModified;

	@Column(name = "topProcessId")
	@ApiModelProperty(value = "", required = false)
    private String topProcessId;

	@Column(name = "forInterface")
	@ApiModelProperty(value = "", required = false)
    private String forInterface;

	@Column(name = "mindDeFine")
	@ApiModelProperty(value = "", required = false)
    private String mindDeFine;

	@Column(name = "remark")
	@ApiModelProperty(value = "", required = false)
    private String remark;

	@Column(name = "businessType")
	@ApiModelProperty(value = "", required = false)
    private String businessType;

	@Column(name = "processReader")
	@ApiModelProperty(value = "", required = false)
    private String processReader;

	@Column(name = "processStarter")
	@ApiModelProperty(value = "", required = false)
    private String processStarter;

	@Column(name = "xmlData")
	@ApiModelProperty(value = "", required = false)
    private String xmlData;
    
    private static final long serialVersionUID = 1L;

}